/*
 * @Author: Evan-lian
 * @Date: 2023-12-25 10:45:02
 * @LastEditors: Evan-lian
 * @LastEditTime: 2023-12-25 10:53:53
 * @Description: 
 */
import { useRoutes } from "react-router-dom";
import baseRouter from "./baseRouter";
function RouterView() {
    //创建路由
    const element = useRoutes(baseRouter);
    //导出创建好的元素
    return (<>{element}</>);
}

export default RouterView;